package com.study.happystudy.po;

import lombok.Data;

@Data
public class PrivateMessageList {
    private int uid;// 用户id
    private String avatar;// 用户头像
    private String nickname;// 用户昵称
    private String lastMessage;// 最后一条消息
    private String date; // 最后消息时间
    private int unreadCount;// 未读消息数量

    public PrivateMessageList(int uid, String nickname, String avatar, String lastMessage, int unreadCount,String date) {
        this.uid = uid;
        this.nickname = nickname;
        this.avatar = avatar;
        this.lastMessage = lastMessage;
        this.unreadCount = unreadCount;
        this.date = date;
    }
}
